package com.syh.jn.scm.service.api.downstream.system;

import com.syh.jn.scm.dto.downstream.system.downAccountOfPhone.DownAccountOfPhoneMto;
import com.syh.jn.scm.dto.downstream.system.downAccountOfPhone.DownAccountOfPhoneSto;
import com.syh.jn.scm.dto.downstream.system.downAccountOfPhone.DownAccountOfPhoneVo;
import com.syh.jn.scm.service.core.CreateService;
import com.syh.jn.scm.service.core.DeleteService;
import com.syh.jn.scm.service.core.ReadService;
import com.syh.jn.scm.service.core.UpdateService;

/**
 * Created by soci.song on 2018/12/13.
 */
public interface DownAccountOfPhoneService extends
        ReadService<DownAccountOfPhoneVo, Long>,
        CreateService<DownAccountOfPhoneSto, Long>,
        UpdateService<DownAccountOfPhoneMto>,
        DeleteService<Long> {
  DownAccountOfPhoneVo verifyAccountPassword(String loginPhone, String password);

  void binding(Long id, Long accountId);

  void untying(Long id, Long accountId);

  void defaultSign(Long id, Long accountId);

  void enable(Long id);

  void disable(Long id);
}
